
// 自动生成模板WorkInformation
package example
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// workInformation表 结构体  WorkInformation
type WorkInformation struct {
    global.GVA_MODEL
  VideoType  *string `json:"videoType" form:"videoType" gorm:"comment:视频分类;column:video_type;size:20;" binding:"required"`  //视频分类
  VideoImage  *string `json:"videoImage" form:"videoImage" gorm:"comment:视频封面;column:video_image;size:255;" binding:"required"`  //视频封面
  User  *string `json:"user" form:"user" gorm:"comment:视频作者;column:user;size:30;" binding:"required"`  //视频作者
  Title  *string `json:"title" form:"title" gorm:"comment:视频标题;column:title;size:255;" binding:"required"`  //视频标题
    CreatedBy  uint   `gorm:"column:created_by;comment:创建者"`
    UpdatedBy  uint   `gorm:"column:updated_by;comment:更新者"`
    DeletedBy  uint   `gorm:"column:deleted_by;comment:删除者"`
}


// TableName workInformation表 WorkInformation自定义表名 work_information
func (WorkInformation) TableName() string {
    return "work_information"
}





